package com.wish.housing.mapper;

import com.wish.housing.entity.HouseInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wish.housing.entity.RoomInfo;
import com.wish.housing.entity.vo.rk.RackVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 曹佳林 王泓翔-房源表 	！房态-杨子强 Mapper 接口
 * </p>
 *
 * @author benjamin
 * @since 2022-03-28
 */
public interface HouseInfoMapper extends BaseMapper<HouseInfo> {

    void updatePublishStatus(@Param("id") String id, @Param("publishStatus") Integer publishStatus);

    List<RackVo> roomRackList(@Param("qv") RackVo qv);

    List<RoomInfo> getRoomList(@Param("qv") RackVo qv);

}
